<%-- 
    Document   : display
    Created on : Jun 23, 2011, 10:18:18 AM
    Author     : havn
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<%@include file="page/header.jsp" %>
<table>
    <tr style="background-color: #C9C9C9;color: brown">
        <td>id</td>
        <td>name</td>
    </tr>
    <c:forEach var="item" items="${items}">
        <tr>
            <td><c:out value="${item.id}"></c:out></td>
            <td><c:out value="${item.name}"></c:out></td>
        </tr>
    </c:forEach>
</table>
<c:out value="${error}"></c:out>
<%@include file="page/footer.jsp" %>
